home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 2 / AACD 2.iso / AACD / Magazine / GraphicsCards / StormMesa / src-glut / Makefile < prev    next >
Makefile  |  1998-12-15  |  2KB  |  127 lines

  1. # $Id: Makefile,v 1.3 1998/06/17 01:12:48 brianp Exp $
  2.  
  3. # Makefile for GLUT
  4. #
  5. # NOTICE:  The OpenGL Utility Toolkit (GLUT) distribution contains source
  6. # code published in a book titled "Programming OpenGL for the X Window
  7. # System" (ISBN: 0-201-48359-9) published by Addison-Wesley.  The
  8. # programs and associated files contained in the distribution were
  9. # developed by Mark J. Kilgard and are Copyright 1994, 1995, 1996 by Mark
  10. # J. Kilgard (unless otherwise noted).  The programs are not in the
  11. # public domain, but they are freely distributable without licensing
  12. # fees.  These programs are provided without guarantee or warrantee
  13. # expressed or implied.
  14. #
  15. # GLUT source included with Mesa with permission from Mark Kilgard.
  16.  
  17.  
  18. # $Log: Makefile,v $
  19. # Revision 1.3  1998/06/17 01:12:48  brianp
  20. # added glut_menu2.c to source list
  21. #
  22. # Revision 1.2  1998/06/14 15:12:48  brianp
  23. # updated for GLUT 3.7
  24. #
  25. # Revision 1.1  1997/12/09 01:51:55  brianp
  26. # Initial revision
  27. #
  28.  
  29.  
  30. ##### MACROS #####
  31.  
  32. GLUT_MAJOR = 3
  33. GLUT_MINOR = 7
  34.  
  35. VPATH = RCS
  36.  
  37. INCDIR = ../include
  38. LIBDIR = ../lib
  39.  
  40. SOURCES = \
  41.     glut_8x13.c \
  42.     glut_9x15.c \
  43.     glut_bitmap.c \
  44.     glut_bwidth.c \
  45.     glut_cindex.c \
  46.     glut_cmap.c \
  47.     glut_cursor.c \
  48.     glut_dials.c \
  49.     glut_dstr.c \
  50.     glut_event.c \
  51.     glut_ext.c \
  52.     glut_fullscrn.c \
  53.     glut_gamemode.c \
  54.     glut_get.c \
  55.     glut_glxext.c \
  56.     glut_hel10.c \
  57.     glut_hel12.c \
  58.     glut_hel18.c \
  59.     glut_init.c \
  60.     glut_input.c \
  61.     glut_joy.c \
  62.     glut_key.c \
  63.     glut_keyctrl.c \
  64.     glut_keyup.c \
  65.     glut_menu.c \
  66.     glut_menu2.c \
  67.     glut_mesa.c \
  68.     glut_modifier.c \
  69.     glut_mroman.c \
  70.     glut_overlay.c \
  71.     glut_roman.c \
  72.     glut_shapes.c \
  73.     glut_space.c \
  74.     glut_stroke.c \
  75.     glut_swap.c \
  76.     glut_swidth.c \
  77.     glut_tablet.c \
  78.     glut_teapot.c \
  79.     glut_tr10.c \
  80.     glut_tr24.c \
  81.     glut_util.c \
  82.     glut_vidresize.c \
  83.     glut_warp.c \
  84.     glut_win.c \
  85.     glut_winmisc.c \
  86.     layerutil.c
  87.  
  88.  
  89. OBJECTS = $(SOURCES:.c=.o)
  90.  
  91.  
  92.  
  93. ##### RULES #####
  94.  
  95. .c.o:
  96.     $(CC) -c -I$(INCDIR) $(CFLAGS) $<
  97.  
  98.  
  99.  
  100. ##### TARGETS #####
  101.  
  102. default:
  103.     @echo "Specify a target configuration"
  104.  
  105. clean:
  106.     -rm *.o *~
  107.  
  108. targets: $(LIBDIR)/$(GLUT_LIB)
  109.  
  110. # Make the library
  111. $(LIBDIR)/$(GLUT_LIB): $(OBJECTS)
  112.     $(MAKELIB) $(GLUT_LIB) $(GLUT_MAJOR) $(GLUT_MINOR) $(OBJECTS)
  113.     mv $(GLUT_LIB)* $(LIBDIR)
  114.  
  115. include ../Make-config
  116.  
  117. include depend
  118.  
  119.  
  120.  
  121. #
  122. # Run 'make dep' to update the dependencies if you change what's included
  123. # by any source file.
  124. dep: $(SOURCES)
  125.     makedepend -fdepend -Y -I../include $(SOURCES)
  126.